Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
GBytes **out_contents,
GMainLoop *loop,
gpointer user_data,
+ guint64 max_size,
GCancellable *cancellable,
GError **error)
{
data.error = error;
_ostree_fetcher_stream_uri_async (fetcher, uri,
- OSTREE_MAX_METADATA_SIZE,
- cancellable,
- fetch_uri_sync_on_complete, &data);
+ max_size,
+ cancellable,
+ fetch_uri_sync_on_complete, &data);
run_mainloop_monitor_fetcher (&data);
if (!data.result_stream)
GBytes **out_contents,
GMainLoop *loop,
gpointer user_data,
+ guint64 max_size,
GCancellable *cancellable,
GError **error);
G_END_DECLS
out_contents,
pull_data->loop,
pull_data,
+ OSTREE_MAX_METADATA_SIZE,
cancellable,
error);
pull_data->fetching_sync_uri = NULL;